//
//  ListRecommendInfoModel.swift
//  CompareBuying
//
//  Created by 唐先才 on 16/1/29.
//  Copyright © 2016年 唐先才. All rights reserved.
//

import UIKit

class ListRecommendInfoModel: NSObject {
    
    var strInfoTitle: String?
    var iInfoID: NSNumber?
    var strSubtitle: String?
    var strCommodityPrice: String?
    var strMainImage: String?
    var strInfoContent: String?
    var mall: NSDictionary?
    
    //字典里面的东西
//    var strContentUrl: String?
//    var strContentSourceUrl: String?
//    var strRedirectUrl: String?
    
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }

    static func modelWithDict(dict: NSDictionary) -> AnyObject {
        let listModel = ListRecommendInfoModel()
        if let dict = dict as? [String: AnyObject] {
            listModel.setValuesForKeysWithDictionary(dict)
        }
        return listModel
    }
}




